package com.woniu.outpatient.service;

import java.math.BigDecimal;
import java.util.HashMap;
import java.util.List;

import com.woniu.outpatient.domain.MoreRegistration;
import com.woniu.outpatient.domain.Registration;

/**
 * 挂号流水表Service接口
 *
 * @author wolf-six
 * @date 2023-02-15
 */
public interface IRegistrationService
{
    /**
     * 查询挂号流水表
     *
     * @param registrationId 挂号流水表主键
     * @return 挂号流水表
     */
    public Registration selectRegistrationByRegistrationId(Long registrationId);

    /**
     * 查询挂号流水表列表
     *
     * @param registration 挂号流水表
     * @return 挂号流水表集合
     */
    public List<Registration> selectRegistrationList(Registration registration);

    /**
     * 新增挂号流水表
     *
     * @param registration 挂号流水表
     * @return 结果
     */
    public int insertRegistration(Registration registration);

    /**
     * 修改挂号流水表
     *
     * @param registration 挂号流水表
     * @return 结果
     */
    public int updateRegistration(Registration registration);

    /**
     * 批量删除挂号流水表
     *
     * @param registrationIds 需要删除的挂号流水表主键集合
     * @return 结果
     */
    public int deleteRegistrationByRegistrationIds(Long[] registrationIds);

    /**
     * 删除挂号流水表信息
     *
     * @param registrationId 挂号流水表主键
     * @return 结果
     */
    public int deleteRegistrationByRegistrationId(Long registrationId);

    List<MoreRegistration> selectMoreRegistrationList(Registration registration);

    List<Registration> selAllListToSortByStatus();
    int updateRegistrationStatus(Registration registration);

    List<MoreRegistration> selectOkPayMoreRegistrationList(Registration registration);

    List<MoreRegistration> selectPendingDiagnosisList(Registration registration);

    List<BigDecimal> getEchartsList();
}
